package com.cn.xiaonuo.tcrfinance.xmpay.param;

import lombok.Getter;


@Getter
public enum SubAccountType {
    /*
    * 分户类型（01-普通资金分户、02-交
            易手续费分户、03-提现手续费分户、04-
            营销费用分户、05-转账验证子账户
            11-待清算资金分户（平台与会员均有此分户）
            12-提现分户(会员))
    * */
    NORMAL("01","普通资金分户(平台)"),
    TRADEFEE("02","交易手续费分户(平台)"),
    WITHDRAWFEE("03","提现手续费分户(平台)"),
    MARKETINGFEE("04","营销费用分户(平台)"),
    TRANSFERAUTHFEE("05","转账验证分户(平台)"),
    CLEARING("11","待清算子账户(平台或会员)"),
    WITHDRAW("12", "可提现子账户(会员)");

    private String code;
    private String desc;

    SubAccountType(String code, String desc){
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String toString() {
        return name() + "——" + desc;
    }
}
